<?php

if ($sf_user->getUsername()==$sf_guard_user->getUsername() or ($sf_user->isSuperAdmin()))
 {
    slot('PageTitle','Editing User'.$sf_guard_user->getUsername());
    slot('Title','Edit '.$sf_guard_user->getUsername());
    use_helper('I18N', 'Date');

    include_partial('sfGuardUser/form', array('sf_guard_user' => $sf_guard_user, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper));

    //include_partial('form',array('form' => $form));
 }
 else
 {
    slot('PageTitle','FORBIDDEN');
    slot('Title','FORBIDDEN');
    
 } 

?>
